package cn.com.oceansoft.oauth.server.biz.dao;

import cn.com.oceansoft.oauth.server.biz.entity.OAuthClients;

import java.util.List;

/**
 * Created by BEN on 2016/4/19.
 */
public interface IOAuthClientsDao {

    OAuthClients findOAuthClients(String clientId);

    List<OAuthClients> findAllOauthClients();

    List<OAuthClients> findLikeOauthClients(String clientId);

    void updateOAuthClientsArchive(String clientId, boolean archive);

    void saveOAuthClients(OAuthClients clients);
}
